package com.njdj.gps.kernel.service.impl;

import org.springframework.beans.factory.annotation.Autowired;

import com.njdj.gps.kernel.dao.ICreateIdDao;
import com.njdj.gps.kernel.service.ICreateIdService;

/**
 * @description 专门用来获取主键的service，此类与其他自动生成的service在父类继承上有所不同
 * @author Rocky Wang
 * @create 2012-04-22
 */
public class CreateIdServiceImpl implements ICreateIdService{
	@Autowired
	private ICreateIdDao createIdDao;
	
	/**
	 * @description 获取主键
	 * @author Rocky Wang
	 * @create 2012-04-22
	 */
	public Long getId() {
		return createIdDao.getId();
	}
	
}
